package com.open.capacity.forum.dto;

import com.open.capacity.forum.model.Article;
import com.open.capacity.forum.model.ArticleCategory;

import java.util.List;

public class ArticleDto extends Article {
    /**
     * 作者
     */
    private String author;

    /**
     * 文章内容
     */
    private String content;

    /**
     * 新创建的分类专栏
     */
    private List<ArticleCategory> createdCategories;

    /**
     * 追加的分类专栏
     */
    private List<ArticleCategory> appendCategories;

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<ArticleCategory> getCreatedCategories() {
        return createdCategories;
    }

    public void setCreatedCategories(List<ArticleCategory> createdCategories) {
        this.createdCategories = createdCategories;
    }

    public List<ArticleCategory> getAppendCategories() {
        return appendCategories;
    }

    public void setAppendCategories(List<ArticleCategory> appendCategories) {
        this.appendCategories = appendCategories;
    }
}
